<?php
class Mozg_Mapper
{
	
	static protected $_mappers = array();
	
	static public function Get($name)
	{
		if (!(self::$_mappers[$name] instanceof Mozg_Mapper_Data))
		{
			$className = 'App_Source_' .$name. '_Mapper';
			self::$_mappers[$name] = new $className();
		}
		
		return self::$_mappers[$name];
	}
}